<?php
//测试控制器类
class IndexController extends Controller{
    //动作方法
    public function index(){
        $db = M("blog");
        $data=array(
            'id'=>11,
            'title'=>'后盾网人人做后盾',
            'abc'=>'aaa'
        );
        $status = $db->update($data);
        p($status);
    }
    public function edit(){

    }
}
